<!-- HTML header for doxygen 1.8.9.1-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<meta name="robots" content="NOINDEX, NOFOLLOW" /> <!-- Prevent indexing by search engines -->
<title>Compute Library: CLBuildOptions Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<script type="text/x-mathjax-config">
  MathJax.Hub.Config({
    extensions: ["tex2jax.js"],
    jax: ["input/TeX","output/HTML-CSS"],
});
</script><script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">Compute Library
   &#160;<span id="projectnumber">18.03</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.xhtml"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.xhtml"><span>Related&#160;Pages</span></a></li>
      <li><a href="namespaces.xhtml"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.xhtml"><span>Data&#160;Structures</span></a></li>
      <li><a href="files.xhtml"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.xhtml"><span>Data&#160;Structures</span></a></li>
      <li><a href="classes.xhtml"><span>Data&#160;Structure&#160;Index</span></a></li>
      <li><a href="inherits.xhtml"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.xhtml"><span>Data&#160;Fields</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('classarm__compute_1_1_c_l_build_options.xhtml','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a>  </div>
  <div class="headertitle">
<div class="title">CLBuildOptions Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Build options.  
 <a href="classarm__compute_1_1_c_l_build_options.xhtml#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="_c_l_kernel_library_8h_source.xhtml">CLKernelLibrary.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:af889744e64b496ba5dc1ef57f9918f79"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_c_l_build_options.xhtml#af889744e64b496ba5dc1ef57f9918f79">CLBuildOptions</a> ()</td></tr>
<tr class="memdesc:af889744e64b496ba5dc1ef57f9918f79"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default constructor.  <a href="#af889744e64b496ba5dc1ef57f9918f79">More...</a><br /></td></tr>
<tr class="separator:af889744e64b496ba5dc1ef57f9918f79"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3e2b80ff5463b7d2017de847f5c32a30"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_c_l_build_options.xhtml#a3e2b80ff5463b7d2017de847f5c32a30">add_option</a> (std::string option)</td></tr>
<tr class="memdesc:a3e2b80ff5463b7d2017de847f5c32a30"><td class="mdescLeft">&#160;</td><td class="mdescRight">Adds option to the existing build option list.  <a href="#a3e2b80ff5463b7d2017de847f5c32a30">More...</a><br /></td></tr>
<tr class="separator:a3e2b80ff5463b7d2017de847f5c32a30"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a95b46e69297fad10b27a1baa000f92cc"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_c_l_build_options.xhtml#a95b46e69297fad10b27a1baa000f92cc">add_option_if</a> (bool cond, std::string option)</td></tr>
<tr class="memdesc:a95b46e69297fad10b27a1baa000f92cc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Adds option if a given condition is true;.  <a href="#a95b46e69297fad10b27a1baa000f92cc">More...</a><br /></td></tr>
<tr class="separator:a95b46e69297fad10b27a1baa000f92cc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9b58a8c8bf638904a0b5f62b2bfcf96a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_c_l_build_options.xhtml#a9b58a8c8bf638904a0b5f62b2bfcf96a">add_option_if_else</a> (bool cond, std::string option_true, std::string option_false)</td></tr>
<tr class="memdesc:a9b58a8c8bf638904a0b5f62b2bfcf96a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Adds first option if condition is true else the second one.  <a href="#a9b58a8c8bf638904a0b5f62b2bfcf96a">More...</a><br /></td></tr>
<tr class="separator:a9b58a8c8bf638904a0b5f62b2bfcf96a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a58abf0792821f6f1d6271570aa27dd84"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_c_l_build_options.xhtml#a58abf0792821f6f1d6271570aa27dd84">add_options</a> (const StringSet &amp;<a class="el" href="classarm__compute_1_1_c_l_build_options.xhtml#aa8653d4327df885173a41982fa0f777a">options</a>)</td></tr>
<tr class="memdesc:a58abf0792821f6f1d6271570aa27dd84"><td class="mdescLeft">&#160;</td><td class="mdescRight">Appends given build options to the current's objects options.  <a href="#a58abf0792821f6f1d6271570aa27dd84">More...</a><br /></td></tr>
<tr class="separator:a58abf0792821f6f1d6271570aa27dd84"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a504e7a51a86c19f1f529f739f50729f2"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_c_l_build_options.xhtml#a504e7a51a86c19f1f529f739f50729f2">add_options_if</a> (bool cond, const StringSet &amp;<a class="el" href="classarm__compute_1_1_c_l_build_options.xhtml#aa8653d4327df885173a41982fa0f777a">options</a>)</td></tr>
<tr class="memdesc:a504e7a51a86c19f1f529f739f50729f2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Appends given build options to the current's objects options if a given condition is true.  <a href="#a504e7a51a86c19f1f529f739f50729f2">More...</a><br /></td></tr>
<tr class="separator:a504e7a51a86c19f1f529f739f50729f2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa8653d4327df885173a41982fa0f777a"><td class="memItemLeft" align="right" valign="top">const StringSet &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_c_l_build_options.xhtml#aa8653d4327df885173a41982fa0f777a">options</a> () const </td></tr>
<tr class="memdesc:aa8653d4327df885173a41982fa0f777a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the current options list set.  <a href="#aa8653d4327df885173a41982fa0f777a">More...</a><br /></td></tr>
<tr class="separator:aa8653d4327df885173a41982fa0f777a"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Build options. </p>

<p>Definition at line <a class="el" href="_c_l_kernel_library_8h_source.xhtml#l00037">37</a> of file <a class="el" href="_c_l_kernel_library_8h_source.xhtml">CLKernelLibrary.h</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="af889744e64b496ba5dc1ef57f9918f79"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classarm__compute_1_1_c_l_build_options.xhtml">CLBuildOptions</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Default constructor. </p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a3e2b80ff5463b7d2017de847f5c32a30"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void add_option </td>
          <td>(</td>
          <td class="paramtype">std::string&#160;</td>
          <td class="paramname"><em>option</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Adds option to the existing build option list. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">option</td><td>Option to add </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a95b46e69297fad10b27a1baa000f92cc"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void add_option_if </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>cond</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::string&#160;</td>
          <td class="paramname"><em>option</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Adds option if a given condition is true;. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">cond</td><td>Condition to check </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">option</td><td>Option to add if condition is true </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a9b58a8c8bf638904a0b5f62b2bfcf96a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void add_option_if_else </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>cond</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::string&#160;</td>
          <td class="paramname"><em>option_true</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::string&#160;</td>
          <td class="paramname"><em>option_false</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Adds first option if condition is true else the second one. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">cond</td><td>Condition to check </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">option_true</td><td>Option to add if condition is true </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">option_false</td><td>Option to add if condition is false </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a58abf0792821f6f1d6271570aa27dd84"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void add_options </td>
          <td>(</td>
          <td class="paramtype">const StringSet &amp;&#160;</td>
          <td class="paramname"><em>options</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Appends given build options to the current's objects options. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">options</td><td>Build options to append </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a504e7a51a86c19f1f529f739f50729f2"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void add_options_if </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>cond</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const StringSet &amp;&#160;</td>
          <td class="paramname"><em>options</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Appends given build options to the current's objects options if a given condition is true. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">cond</td><td>Condition to check </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">options</td><td>Option to add if condition is true </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="aa8653d4327df885173a41982fa0f777a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const StringSet&amp; options </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Gets the current options list set. </p>
<dl class="section return"><dt>Returns</dt><dd>Build options set </dd></dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>arm_compute/core/CL/<a class="el" href="_c_l_kernel_library_8h_source.xhtml">CLKernelLibrary.h</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="namespacearm__compute.xhtml">arm_compute</a></li><li class="navelem"><a class="el" href="classarm__compute_1_1_c_l_build_options.xhtml">CLBuildOptions</a></li>
    <li class="footer">Generated on Fri Mar 2 2018 12:37:57 for Compute Library by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.11 </li>
  </ul>
</div>
</body>
</html>
